package cn.glenn.weibo0521.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class UserLoginParam {
    @NotBlank(message = "用户名不能为空")
    @Schema(name = "username",description = "用户名",required = true)
    private String username;
    @Schema(name = "password",description = "用户密码")
    private String password;
}
